package com.etone.smartAudit.vo.item;

import com.etone.smartAudit.enums.ItemSourceType;
import com.etone.smartAudit.vo.FileVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-07-22 10:55:58
 * @Description ItemSourceVO
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "项目资源详情")
public class ItemSourceDetailVO implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("说明｜介绍")
    private String remark;

    @ApiModelProperty("资源名称")
    private String name;

    @ApiModelProperty("资源类型")
    private ItemSourceType type;

    @ApiModelProperty("详情")
    private String detail;

    @ApiModelProperty("附件")
    private List<FileVO> files;

    @ApiModelProperty("封面")
    private FileVO cover;

}
